package edu.hit.stu.hander.exception;

public class WebException extends RuntimeException{
    /**
     * 构造一个<i>不含</i>详细异常描述消息的 <code>WebFluxException</code> 。
     */
    public WebException() {
        super();
    }

    /**
     * 使用详细异常描述消息构造一个 <code>WebFluxException</code> 。
     *
     * @param   s   详细信息.
     */
    public WebException(String s) {
        super(s);
    }

    /**
     * 用指定的详细信息和原因构造一个新的异常。
     *
     * <p>请注意，与<code>cause</code>相关的详细信息<i>不</i>会自动合并到此异常的详细信息中。
     *
     * @param  message 详细消息描述 (which is saved for later retrieval
     *         by the {@link Throwable#getMessage()} method).
     * @param  cause the cause (which is saved for later retrieval by the
     *         {@link Throwable#getCause()} method).  (A {@code null} value
     *         is permitted, and indicates that the cause is nonexistent or
     *         unknown.)
     * @since 1.5
     */
    public WebException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Constructs a new exception with the specified cause and a detail
     * message of {@code (cause==null ? null : cause.toString())} (which
     * typically contains the class and detail message of {@code cause}).
     * This constructor is useful for exceptions that are little more than
     * wrappers for other throwables (for example, {@link
     * java.security.PrivilegedActionException}).
     *
     * @param  cause the cause (which is saved for later retrieval by the
     *         {@link Throwable#getCause()} method).  (A {@code null} value is
     *         permitted, and indicates that the cause is nonexistent or
     *         unknown.)
     * @since  1.5
     */
    public WebException(Throwable cause) {
        super(cause);
    }

    private static final long serialVersionUID = -5365630128856068164L;
}
